package kuaishou

import (
	"net/http"
)

// 添加自定义属性请求
type ItemPropCustomAddRequest struct {
	CategoryId int    `json:"categoryId"`
	PropName   string `json:"propName"`
}

// 添加自定义属性响应
type ItemPropCustomAddResponse struct {
	BaseResponse
	Data struct {
		PropId     int    `json:"propId"`
		PropName   string `json:"propName"`
		CategoryId int    `json:"categoryId"`
	} `json:"data"`
}

func (r *ItemPropCustomAddRequest) RequestMethod() string {
	return http.MethodPost
}

func (r *ItemPropCustomAddRequest) RequestPath() string {
	return "/open/item/prop/custom/add"
}

func (r *ItemPropCustomAddRequest) ApiName() string {
	return "open.item.prop.custom.add"
}
